package com.locatme.model;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Nacer
 * Date: 12/03/14
 * Time: 11:29
 * To change this template use File | Settings | File Templates.
 */
public class Evenement {

    private int id;
    private String intitule;
    private String description;
    private String adresse;
    private String dateDebut;
    private String dateFin;
    private String hDebut;
    private String hFin;
    private String loginPersonne;
    private List<String> listAmis;

    public Evenement(){}

    public Evenement(int id, String intitule, String description, String adresse, String dateDebut, String dateFin, String hDebut, String hFin, String loginPersonne) {
        this.id = id;
        this.intitule = intitule;
        this.description = description;
        this.adresse = adresse;
        this.dateDebut = dateDebut;
        this.dateFin = dateFin;
        this.hDebut = hDebut;
        this.hFin = hFin;
        this.loginPersonne = loginPersonne;
    }

    public Evenement(String intitule, String description, String adresse, String dateDebut, String dateFin, String hDebut, String hFin, String loginPersonne) {
        this.intitule = intitule;
        this.description = description;
        this.adresse = adresse;
        this.dateDebut = dateDebut;
        this.dateFin = dateFin;
        this.hDebut = hDebut;
        this.hFin = hFin;
        this.loginPersonne = loginPersonne;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIntitule() {
        return intitule;
    }

    public void setIntitule(String intitule) {
        this.intitule = intitule;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDateDebut() {
        return dateDebut;
    }

    public void setDateDebut(String dateDebut) {
        this.dateDebut = dateDebut;
    }

    public String getDateFin() {
        return dateFin;
    }

    public void setDateFin(String dateFin) {
        this.dateFin = dateFin;
    }

    public String gethDebut() {
        return hDebut;
    }

    public void sethDebut(String hDebut) {
        this.hDebut = hDebut;
    }

    public String gethFin() {
        return hFin;
    }

    public void sethFin(String hFin) {
        this.hFin = hFin;
    }

    public String getLoginPersonne() {
        return loginPersonne;
    }

    public void setLoginPersonne(String loginPersonne) {
        this.loginPersonne = loginPersonne;
    }

    public List<String> getListAmis() {
        return listAmis;
    }

    public void setListAmis(List<String> listAmis) {
        this.listAmis = listAmis;
    }

    public String getAdresse() {
        return adresse;
    }

    public void setAdresse(String adresse) {
        this.adresse = adresse;
    }

    @Override
    public String toString() {
        return "Evenement{" +
                "id=" + id +
                ", intitule='" + intitule + '\'' +
                ", description='" + description + '\'' +
                ",adresse="+ adresse + '\'' +
                ", dateDebut='" + dateDebut + '\'' +
                ", dateFin='" + dateFin + '\'' +
                ", hDebut='" + hDebut + '\'' +
                ", hFin='" + hFin + '\'' +
                ", loginPersonne='" + loginPersonne + '\'' +
                '}';
    }
}
